<template>
    <!-- vue-loader 会加载 .vue 文件进行组件配置整合，vue-loader可以识别标签驼峰规则 -->
    <SearchBar></SearchBar>
    <component :is="page"></component>
</template>

<script>
import SearchBar from "@/film/components/SearchBar.vue";
import HomePage from "@/film/pages/HomePage.vue";
import ListPage from "@/film/pages/ListPage.vue";

export default {
    components: {
        SearchBar,
        HomePage,ListPage
    },
    data() {
        return {
            page:"ListPage"
        }
    },
}
</script>